#ifndef MOCKSERVER_H
#define MOCKSERVER_H
#include <iostream>

#include <QTcpServer>
#include <QCustomEvent>

#include "mockserverhandler.h"
//#include "mockserverhandler2.h"
#include "anyevent.h"
#include "qslog.h"

class MockServer : public QTcpServer
{
	Q_OBJECT

public:
	MockServer(QObject *parent = NULL);
	~MockServer();
protected:
    virtual void incomingConnection(int handle);
private slots:
	void error(QString ip, int port, QTcpSocket::SocketError error);
	static void deleteThread(QThread* thread);
private:
	
};

#endif // MOCKSERVER_H
